import "./searchPage.less";

export default function Listmeta({
  data,
  onClick = () => {},
  style = {},
  arrive = false,
}) {
  return (
    <div className="Listmeta_contarnier" onClick={onClick} style={style}>
      <div className="lc_meta_image">
        <img src={data?.imageUrl || ""} alt="" />
      </div>
      <div className="lc_meta_content">
        <div>
          <div className="lc_mc_title">{data?.name || ""}</div>
          <div className="lc_mc_type">{data?.typeName || ""}</div>
        </div>
        <div className="lc_mc">{data?.address || ""}</div>
        <div className="lc_mc">{data?.remark || ""}</div>
      </div>
      {arrive && <div className="lc_arrive">去这里</div>}
    </div>
  );
}
